<h1><%= title "#{@character.name_and_title}" %></h1>
<p>
	<b>Status:</b>
	<%=h @character.honour_description %> and <%=h @character.health_description %>
</p>

<p>
  <b>Player:</b>
  <% if @character.player %>
  <%= show_player @character.player %>
  <% end %>
  <% if @character.npc? %>
	<strong>
		<a href="/account/choose_character?character_id=<%=@character.id%>" title="Assume Control">Assume Control</a>
	</strong>
  <% end %>
</p>

<p>
  <b>Father:</b>
  <%=link_to_father @character %>
  <b>Mother:</b>
  <%=link_to_mother @character %>
</p>

<p>
  <b>Culture:</b>
  <%=link_to_record @character.culture %>
</p>

<p>
  <b>Liege:</b>
  <%=link_to_record @character.liege %>
  <b>Court:</b>
  <%=link_to_record @character.court_territory %>
</p>



<p>
  <b>Prestige:</b>
  <%=h @character.prestige %>
  <b>Piety:</b>
  <%=h @character.piety %>
  <b>Wealth:</b>
  <%=h @character.wealth %>
</p>

<p>
  <b>Sex:</b>
  <%=h @character.sex %>
  <b>Dob:</b>
  <%=GameConfig.display_date @character.dob %>
  <b>Age:</b>
  <%=h @character.age %>
  <b>Marital status:</b>
  <%=h @character.marital_status %>
  <% if @character.marital_status == "married" or @character.marital_status == "betrothed" %>
  (to <%=link_to_record @character.partner %>)
  <% end %>
</p>

<p>
  <b>Diplomacy:</b>
  <%=h @character.adjusted_diplomacy_skill %>
  <b>Martial:</b>
  <%=h @character.adjusted_martial_skill %>
  <b>Stewardship:</b>
  <%=h @character.adjusted_stewardship_skill %>
  <b>Intrigue:</b>
  <%=h @character.adjusted_intrigue_skill %>
</p>

<div id="traits">
	<%= render :partial => 'character_traits', :locals => {:character_traits => @character.character_traits, :character => @character} %>
</div>

<div id="titles">
	<%= render :partial => 'titles', :locals => {:titles => @character.titles.find(:all, :order => "sub_category DESC"), :character => @character} %>
</div>

<div id="siblings">
	<%= render :partial => 'siblings', :locals => {:siblings => @character.siblings, :character => @character} %>
</div>

<div id="children">
	<%= render :partial => 'children', :locals => {:children => @character.children, :character => @character} %>
</div>

<div id="vassals">
	<%= render :partial => 'vassals', :locals => {:vassals => @character.vassals, :character => @character} %>
</div>

<div id="successors">
	<%= render :partial => 'successors', :locals => {:successors => @character.successors, :character => @character} %>
</div>

<div id="liege_actions">
	<%= render :partial => 'liege_actions', :locals => {:character => @character} %>
</div>

<div id="admin_actions">
	<%= render :partial => 'admin_actions', :locals => {:character => @character} %>
</div>

<p>
<% if is_admin? %>
<%= link_to 'Edit', edit_character_path(@character) %> |
<%= link_to 'Back', characters_path %> |
<% end %>

<%= link_to 'Home', '/' %>
</p>